assume cs:codeseg

dataseg segment
    db 'welcome to masm!'
    db '................'
dataseg ends

codeseg segment
    start:
    mov ax,dataseg
    mov ds,ax

    mov cx,16
    mov bx,0

    s:
    mov al,ds:[bx]
    mov ds:[bx+16],al

    inc bx
    loop s
    
    mov ax,4c00h
    int 21h
codeseg ends
end start